[INFO] cloning repository https://github.com/jacquesrott/rust-pi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacquesrott/rust-pi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 397b301b480d332e9d84346969af2a4b325ca5f4
[INFO] building jacquesrott/rust-pi against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacquesrott%2Frust-pi" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jacquesrott/rust-pi on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jacquesrott/rust-pi
[INFO] finished tweaking git repo https://github.com/jacquesrott/rust-pi
[INFO] tweaked toml for git repo https://github.com/jacquesrott/rust-pi written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/jacquesrott/rust-pi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcb2f9db15f5f7dbf1dcbd063bd19abf819d133a2349eb0f2061986e2f926e14
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dcb2f9db15f5f7dbf1dcbd063bd19abf819d133a2349eb0f2061986e2f926e14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcb2f9db15f5f7dbf1dcbd063bd19abf819d133a2349eb0f2061986e2f926e14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcb2f9db15f5f7dbf1dcbd063bd19abf819d133a2349eb0f2061986e2f926e14", kill_on_drop: false }`
[INFO] [stdout] dcb2f9db15f5f7dbf1dcbd063bd19abf819d133a2349eb0f2061986e2f926e14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf2baeb2d1086ecc85776545b13ffb9ce0db06e2e607f93d0d9566165e711fa2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cf2baeb2d1086ecc85776545b13ffb9ce0db06e2e607f93d0d9566165e711fa2", kill_on_drop: false }`
[INFO] [stderr]    Compiling pi v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{`
[INFO] [stdout]   --> src/main.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |         spawn(proc() {
[INFO] [stdout]    |                     -^ expected one of `)`, `,`, `.`, `?`, or an operator
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |         .map(|s| from_str::<uint>(s[])
[INFO] [stdout]    |                                     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:82:41
[INFO] [stdout]    |
[INFO] [stdout] 82 |             .map(|c| from_str::<uint>(c[])
[INFO] [stdout]    |                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use getopts::{optopt, optflag, getopts, usage};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stdout]   |               |       |        |
[INFO] [stdout]   |               |       |        no `getopts` in the root
[INFO] [stdout]   |               |       no `optflag` in the root
[INFO] [stdout]   |               no `optopt` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::iter::range_step_inclusive`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter::range_step_inclusive;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `range_step_inclusive` in `iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |         Err(e) => fail!(e.to_string()),
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn compute_n_steps(start: uint, end: uint) -> f64 {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn compute_n_steps(start: uint, end: uint) -> f64 {
[INFO] [stdout]    |                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn compute(steps: uint, threads: uint) -> f64 {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn compute(steps: uint, threads: uint) -> f64 {
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope
[INFO] [stdout]   --> src/main.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |       let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (sender, receiver): (Send<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                              ^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::sync::mpsc::Sender;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope
[INFO] [stdout]   --> src/main.rs:28:43
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::ops::Receiver;
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::sync::mpsc::Receiver;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `channel` in this scope
[INFO] [stdout]   --> src/main.rs:28:60
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let (sender, receiver): (Sender<f64>, Receiver<f64>) = channel();
[INFO] [stdout]    |                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::sync::mpsc::channel;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |     for thread in range(0, threads) {
[INFO] [stdout]    |                   ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         spawn(proc() {
[INFO] [stdout]    |         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::thread::spawn;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `proc` in this scope
[INFO] [stdout]   --> src/main.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |         spawn(proc() {
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for _ in range(0, threads) {
[INFO] [stdout]    |              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::slice::range;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     let args: Vec<String> = os::args();
[INFO] [stdout]    |                                 ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 5  | use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `num_cpus` in module `os`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |         os::num_cpus()
[INFO] [stdout]    |             ^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `tail` found for struct `Vec<String>` in the current scope
[INFO] [stdout]   --> src/main.rs:63:38
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let matches = match getopts(args.tail(), opts) {
[INFO] [stdout]    |                                      ^^^^ method not found in `Vec<String>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:93:35
[INFO] [stdout]    |
[INFO] [stdout] 93 |     println!("{}", f64::to_string(pi));
[INFO] [stdout]    |                                   ^^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   expected `&f64`, found `f64`
[INFO] [stdout]    |                                   help: consider borrowing here: `&pi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pi`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "cf2baeb2d1086ecc85776545b13ffb9ce0db06e2e607f93d0d9566165e711fa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf2baeb2d1086ecc85776545b13ffb9ce0db06e2e607f93d0d9566165e711fa2", kill_on_drop: false }`
[INFO] [stdout] cf2baeb2d1086ecc85776545b13ffb9ce0db06e2e607f93d0d9566165e711fa2
